﻿using MediatR;

namespace Architecture.API.Application.TraceabilityCommand.PictureCommand
{
    /// <summary>
    /// 
    /// </summary>
    public class PictureCreateCommand :IRequest<int>
    {
        /// <summary>
        /// 图片名称
        /// </summary>
        public string? PictureName { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? ProductionBatch { get; set; }

        /// <summary>
        /// 企业ID
        /// </summary>
        public int EnterpriseId { get; set; }

        /// <summary>
        /// 免疫ID
        /// </summary>
        public int ImmunityId { get; set; }

        /// <summary>
        /// 屠宰ID
        /// </summary>
        public int Slaughter { get; set; }

        /// <summary>
        /// 深加工ID
        /// </summary>
        public int DeepProcessingId { get; set; }

        /// <summary>
        /// 供应商ID
        /// </summary>
        public int SupplierId { get; set; }

        /// <summary>
        /// 食品安全ID
        /// </summary>
        public int ProductSafetyId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeletedBy { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletedDate { get; set; }

        /// <summary>
        /// 逻辑状态
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
